package class08;

/**
 * @author zhangchaoliang
 * create 2022
 */
public class PaperFolding2 {

    public static void printAllFolds(int N){
        process(1,N,true);
        System.out.println();
    }

    public static void process(int i,int N,boolean down){
        if(i>N)
            return;
        process(i+1,N,true);
        System.out.println(down?"凹":"凸");
        process(i+1,N,false);
    }

    public static void main(String[] args) {
        printAllFolds(4);
    }
}
